package cn.touna.jss.modules.third.zxt.entity;

import cn.touna.risk.api.contraints.IdCard;
import cn.touna.risk.api.contraints.Mobile;
import cn.touna.risk.api.contraints.facet.First;
import org.hibernate.validator.constraints.NotBlank;

/**
 * \* User: MeiZhongHao
 * \* Date: 2018-05-07
 * \* Time: 11:48
 * \* Description:
 * \
 */
public class ZengxintongEntity {

    @NotBlank(message = "名字不能为空", groups = {First.class})
    private String name;
    @IdCard(message = "身份证校验失败", groups = {First.class})
    private String idCard;
    @Mobile(message = "手机号校验失败", groups = {First.class})
    private String mobile;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}